"""
This is a quaternion :D
"""
import Numeric as N, maths


class Quaternion:
	def __init__(self, quaternion=None, x = 0.0, y = 0.0, z = 0.0, w = 0.0):
		if quaternion:
			self.set(quaternion)
		else:
			self.repr = N.array((x, y, z, w))
	def set(self, q):
		self.repr = N.array(q.repr)
	def __mul__(self, q):
		r = Quaternion()
		
